package com.demo.dao;

import com.demo.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * Created by HTJ on 2017/12/22.
 */
public interface UserDao {
    @Select("SELECT * FROM TB_USER WHERE id=#{id}")
    User getUserById(@Param("id") int id);
}
